package com.ksd.system.domain;

import com.ksd.common.annotation.Excel;
import com.ksd.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 内容同步记录对象 sys_synch_data
 * 
 * @author y.wu
 * @date 2025-04-21
 */
public class SysSynchData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 已同步的压缩包地址 */
    @Excel(name = "已同步的压缩包地址")
    private String url;

    /** 对应云服务器上待同步的压缩包地址 */
    @Excel(name = "对应云服务器上待同步的压缩包地址")
    private String cloudPath;
    private String status;
    private String remark;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /** 服务器上已解压缩目录 */
    @Excel(name = "服务器上已解压缩目录")
    private String unzipPath;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

//    public String getType() {
//        return type;
//    }
//
//    public void setType(String type) {
//        this.type = type;
//    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setCloudPath(String cloudPath) 
    {
        this.cloudPath = cloudPath;
    }

    public String getCloudPath() 
    {
        return cloudPath;
    }
    public void setUnzipPath(String unzipPath) 
    {
        this.unzipPath = unzipPath;
    }

    public String getUnzipPath() 
    {
        return unzipPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("url", getUrl())
            .append("remark", getRemark())
            .append("cloudPath", getCloudPath())
            .append("unzipPath", getUnzipPath())
            .toString();
    }
}
